package com.athenaeum.datastore.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.athenaeum.datastore.domain.Project;
import com.athenaeum.datastore.repository.ProjectRepository;
import com.athenaeum.datastore.service.ProjectService;

@Service
public class ProjectServiceImpl implements ProjectService {

	@Resource
	private ProjectRepository projectRepository;

	@Override
	public Project findOne(String projectId) {
		return projectRepository.findOne(projectId);
	}

	@Override
	public Project save(Project project) {
		return projectRepository.save(project);
	}

}
